

#import <UIKit/UIKit.h>

@protocol ShareViewDelegate <NSObject>

@optional

- (void)shareTo:(NSString*)platform;

@end

@interface ShareView : UIWindow

@property (nonatomic,weak) id<ShareViewDelegate> shareViewDelegate;

//	点击按钮block回调
@property (nonatomic,copy) void(^btnClick)(NSString*);

//	头部提示文字
@property (nonatomic,copy) NSString *proStr;

//	头部提示文字的字体大小
@property (nonatomic,assign) NSInteger proFont;

//	取消按钮的颜色
@property (nonatomic,strong) UIColor *cancelBtnColor;

//	取消按钮的字体大小
@property (nonatomic,assign) NSInteger cancelBtnFont;

//	除了取消按钮其他按钮的颜色
@property (nonatomic,strong) UIColor *otherBtnColor;

//	除了取消按钮其他按钮的字体大小
@property (nonatomic,assign) NSInteger otherBtnFont;

//	设置弹窗背景蒙板灰度(0~1)
@property (nonatomic,assign) CGFloat duration;

// 是否弹出状态
@property(nonatomic,assign,getter=isVisible) BOOL visible;

+ (instancetype)sharedShareBoard;

- (void)show;

- (void)disappear;

@end
